package com.twu.biblioteca;

public class LibraryMovie {
    private String movieTitle;
    private String movieRating;
    private String movieDirector;
    private String movieYear;

    public LibraryMovie(String movieTitle, String movieRating, String movieDirector, String movieYear) {
        this.movieTitle = movieTitle;
        this.movieRating = movieRating;
        this.movieDirector = movieDirector;
        this.movieYear = movieYear;
    }

    @Override
    public String toString() {
        return  "Movie: " + movieTitle + '\n' +
                "Rating: " + movieRating + '\n' +
                "Director: " + movieDirector + '\n' +
                "Year: " + movieYear + "\n\n";
    }
}
